package interpreter;
import java.math.BigDecimal;

public class Num extends Expr{
	
	private BigDecimal value = null;
	
	private Num (BigDecimal value){
		this.value = value;
	}
	
	public static Expr _(String str){
		return new Num(new BigDecimal(str));
	}

	@Override
	public BigDecimal evaluate(Env env) {
		return value;
	}
	
}
